﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GHRMS.MODEL
{
    [Serializable]
    public class HisSpouseInfo : RecordInfo
    {
        private int spouse_seq;
        private EmployeeInfo emp_seq;
        private PersonInfo person;
        private bool earning;
        private string spouse_status;
        private string spouse_status_name;

        public HisSpouseInfo()
        { 
        }
        public HisSpouseInfo(int Sequence)
        {
            this.Sequence = Sequence;
        }
        public HisSpouseInfo(int Sequence, EmployeeInfo Employee, PersonInfo Person, bool Earning, string Status
            , string StatusName, string RecordStatus, Nullable<int> CreatedBy, Nullable<int> UpdatedBy)
        {
            this.Sequence = Sequence;
            this.Employee = Employee;
            this.Person = Person;
            this.Earning = Earning;
            this.Status = Status;
            this.StatusName = StatusName;
            this.RecordStatus = RecordStatus;
            this.CreatedBy = CreatedBy;
            this.UpdatedBy = UpdatedBy;
        }
        public int Sequence
        {
            get { return spouse_seq; }
            set { spouse_seq = value; }
        }
        public EmployeeInfo Employee
        {
            get { return emp_seq; }
            set { emp_seq = value; }
        }
        public PersonInfo Person
        {
            get { return person; }
            set { person = value; }
        }
        public bool Earning
        {
            get { return earning; }
            set { earning = value; }
        }
        public string Status
        {
            get { return spouse_status; }
            set { spouse_status = value; }
        }
        public string StatusName
        {
            get { return spouse_status_name; }
            set { spouse_status_name = value; }
        }
        public string PlaceOfBirth
        {
            get;
            set;
        }
    }
}
